<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
    
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<!-- Bootstrap core CSS -->
    <link href="<%=basePath %>admin/css/bootstrap.min.css" rel="stylesheet">
    <link href="<%=basePath %>admin/css/bootstrap-reset.css" rel="stylesheet">
    <!--external css-->
    <link href="<%=basePath %>admin/assets/font-awesome/css/font-awesome.css" rel="stylesheet" />
    <!-- Custom styles for this template -->
    <link href="<%=basePath %>admin/css/style.css" rel="stylesheet">
    <link href="<%=basePath %>admin/css/style-responsive.css" rel="stylesheet" />

    <!-- HTML5 shim and Respond.js IE8 support of HTML5 tooltipss and media queries -->
    <!--[if lt IE 9]>
      <script src="js/html5shiv.js"></script>
      <script src="js/respond.min.js"></script>
    <![endif]-->
  </head>

  <body>
<jsp:include page="top.jsp"></jsp:include>
  <section id="container" class="">
      <!--header start-->
      
      <!--sidebar end-->
      <!--main content start-->
      <section id="main-content">
          <section class="wrapper">
              <!-- page start-->
              <div class="row">
                  <div class="col-lg-12">
                      <section class="panel">
                          <header class="panel-heading">
                              查看用户信息
                          </header>
                          <div class="panel-body">
                              
                              <form class="form-horizontal" id="default">
                                  
                                  <fieldset title="Step 3" class="step" id="default-step-2" >
                                      <legend> </legend>
                                      <div class="form-group">
                                          <label class="col-lg-2 control-label">姓名：</label>
                                          <div class="col-lg-10">
                                              <p class="form-control-static">${puser.name }</p>
                                          </div>
                                      </div>
                                      <div class="form-group">
                                          <label class="col-lg-2 control-label">电话</label>
                                          <div class="col-lg-10">
                                              <p class="form-control-static">${puser.phone }</p>
                                          </div>
                                      </div>
                                      <div class="form-group">
                                          <label class="col-lg-2 control-label">累计登录天数</label>
                                          <div class="col-lg-10">
                                              <p class="form-control-static">${puser.loginDays }</p>
                                          </div>
                                      </div>
                                      <div class="form-group">
                                          <label class="col-lg-2 control-label">积分余额</label>
                                          <div class="col-lg-10">
                                              <p class="form-control-static">${puser.integralNum }</p>
                                          </div>
                                      </div>
                                      <div class="form-group">
                                          <label class="col-lg-2 control-label">账户余额</label>
                                          <div class="col-lg-10">
                                              <p class="form-control-static">${puser.money }</p>
                                          </div>
                                      </div>
                                      <div class="form-group">
                                          <label class="col-lg-2 control-label">本日剩余抽奖次数</label>
                                          <div class="col-lg-10">
                                              <p class="form-control-static">
                                                  ${puser.drawNum }</p>
                                          </div>
                                      </div>
                                  </fieldset>
                                  <a href="<%=basePath %>admin/jsp/userList.jsp" class="finish btn btn-danger" >Finish</a>
                              </form>
                          </div>
                      </section>
                  </div>
              </div>
              <!-- page end-->
          </section>
      </section>
      <!--main content end-->
  </section>


</body>
</html>